<div class="header b_b">
	<div class="w_970">
    	<h1 class="fl"><a href="#" class="logo"></a></h1>
        <div class="fr nav">
        <ul class="nav_ul fl">
        	<li><a href="{:U('public/index/index')}">展示</a></li>
            <li><a href="{:U('public/job/index')}">工作机会</a></li>
            <li id="nav_li_artist" ><a id="nav_artist" href="{:U('public/artist/index')}">Artist</a>
            	<dl class="ul-nav" style="display:none;">
                	<dd><a href="{:U('public/Artist/index')}">获取</a><span class="pro">PRO</span></dd>
                 	<dd><a href="{:U('public/Artist/location')}">位置</a></dd>
                  <dd><a href="{:U('public/Artist/tag')}">标签</a></dd>
                </dl>
            </li>
            <li><a href="{:U('public/faq/about')}">关于</a></li>
            <if condition=" 0 lt $mid ">
	            <li>
	            	<div class="xiaoxi"><a class="icon-xiaoxi" href="#">9</a></div>
	            </li>
            <else/>
            	<li class="m_r100"><a href="{:U('public/Register/index')}"><i class="icon_rt fl"></i><i class="fl">加入</i></a></li>
            </if>
            <li id="nav_li_user">
            	<if condition=" 0 lt $mid ">
            		<a id="nav_user_avatar" href="{$user.space_url}" class="xz"><img src="{$user.avatar_small}" width="20" height="20" /></a>
	            	<dl class="ul-nav" style="display:none;">
	                	<dd><a href="{$user.space_url}">我的主页</a></dd>
	                 	<dd><a href="{:U('public/artist/index')}">获取</a><span class="pro">PRO</span></dd>
	                  <dd><a href="{:U('public/account/index')}">账号设置</a></dd>
	                  <dd><a href="{:U('public/passport/logout')}">退出</a></dd>
	                </dl>
            	<else/>
            		<a href="{:U('public/Passport/login')}">登录</a>
            	</if>
            </li>
        </ul>
        <div class="fr search_top">
        	<input type="text" class="w_190 c_999" value="" placeholder="搜索艺术家、话题、圈子" />
        	<input class="w_30" type="button" />
        </div>
        </div>
    </div>
</div>
<script>
$(function(){
	$("#nav_li_artist").hover(function(){
		$(this).find("#nav_artist").addClass("xz");
		$(this).find(".ul-nav").show();
	},function(){
		$(this).find("#nav_artist").removeClass("xz");
		$(this).find(".ul-nav").hide();
	});
	if( MID == 1 ){
		$("#nav_li_user").hover(function(){
			$(this).find("#nav_user_avatar").addClass("xz");
			$(this).find(".ul-nav").show();
		},function(){
			$(this).find("#nav_user_avatar").removeClass("xz");
			$(this).find(".ul-nav").hide();
		});
	}
});
</script>